package com.hanserwei.community.entity.request.parking;

import com.hanserwei.community.entity.common.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "停车位查询请求")
public class ParkingSpaceQueryRequest extends PageRequest {

    @Schema(description = "主键ID")
    private Integer id;

    @Schema(description = "车位编号(模糊匹配)")
    private String numbers;

    @Schema(description = "状态：0-空闲，1-已占用")
    private Integer status;

    @Schema(description = "业主ID")
    private Integer ownerId;

    @Schema(description = "业主姓名(模糊匹配)")
    private String ownerName;
}
